package com.ny.service.impl;

import com.ny.dao.ManagerDao;
import com.ny.dao.impl.ManagerDaoImpl;
import com.ny.entity.Manager;
import com.ny.service.ManagerService;

public class ManagerServiceImpl implements ManagerService {
    private ManagerDao managerDao=new ManagerDaoImpl();
    @Override
    public Manager login(String name, String password) throws Exception {
        return managerDao.login(name, password);
    }
}
